package com.imufe.chemicalenterprisedangerwarning.service;

import com.imufe.chemicalenterprisedangerwarning.entity.po.ProjectChemicalPO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imufe.chemicalenterprisedangerwarning.entity.query.ProjectChemicalQuery;
import com.imufe.chemicalenterprisedangerwarning.entity.query.SafetySupervisionBureauQuery;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.ProjectChemicalDetailedVO;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.SafetySupervisionBureauDetailedVO;

import java.util.List;

/**
 * <p>
 * 项目化学品表 服务类
 * </p>
 *
 * @author BaiBan
 * @since 2022-09-26
 */
public interface ProjectChemicalService extends IService<ProjectChemicalPO> {

    /**
     * 项目化学品详细
     */
    ProjectChemicalDetailedVO detailed(Long id);

    /**
     * 项目化学品列表
     * @param projectId 项目编号
     */
    List<ProjectChemicalDetailedVO> chemicalList(Long projectId);

    /**
     * 新增一个项目化学品
     */
    ProjectChemicalDetailedVO create(ProjectChemicalQuery query);

    /**
     * 修改项目化学品信息
     */
    ProjectChemicalDetailedVO update(ProjectChemicalQuery query);
}
